<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1 th:text="${message}"></h1>
<a th:href="'/'+${targetFilename}">下载链接</a>
<form action="/upload" method="post" enctype="multipart/form-data">
    <input name="file" type="file">
    <button type="submit">提交</button>
</form>
</body>
</html>